package com.xj.common.bussiness.userInfo.mapper;

import com.xj.common.bussiness.userInfo.entity.TbUserInfo;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author Hmemb
 * @since 2018-02-27
 */
public interface TbUserInfoMapper extends BaseMapper<TbUserInfo> {

   public List<TbUserInfo> getUserInfoByCondition(TbUserInfo bean);

   /**
    * 根据身份证号查询微信用户
    * @param identification
    * @return
    */
   String selectWxUserByIdentification(@Param("identification") String identification);

   void updateName(TbUserInfo tbUserInfo);

}